<?php /* Smarty version 2.6.18, created on 2010-10-16 13:17:41
         compiled from duyet_par_rptTT13Phuluc1_2.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Duyet chi nhanh')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="56%" colspan="2" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="19%"><?php echo $this->_tpl_vars['lbl_MACT']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><input name="MACT" id="MACT" type="text" style="background:<?php echo $this->_tpl_vars['colorMACT']; ?>
" value="<?php echo $this->_tpl_vars['MACT']; ?>
" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"  <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?> />
*
  <input type="submit" name="find" value="    " id="replacement_find" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled"<?php endif; ?> /></td>
    </tr>
  
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_CHITIEU']; ?>
</td>
    <td colspan="3"><textarea name="KHOANMUC" cols="50" id="KHOANMUC" readonly="readonly"><?php echo $this->_tpl_vars['CHITIEU']; ?>
</textarea></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_F_FORMULAR']; ?>
</td>
    <td colspan="3"><textarea name="F_FORMULAR" cols="50" id="F_FORMULAR" readonly="readonly"><?php echo $this->_tpl_vars['F_FORMULAR']; ?>
</textarea></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_F_USED']; ?>
</td>
    <td colspan="3"><select name="F_USED" id="F_USED" onchange="ComboboxValueShowHide('F_USED');" disabled="disabled">
		<?php $_from = $this->_tpl_vars['cbo_F_USED']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>	
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_USED']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
    </select>    </td>
  </tr>
  
  <tr><td colspan="4"><hr /> </td></tr>
	<tr id="1">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE1" id="F_TYPE1" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE1" id="CURCODE1" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F01']; ?>
</td>
			  <td><textarea name="F01" cols="50" id="F01" readonly="readonly"><?php echo $this->_tpl_vars['F01']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS1" id="SBVORBTS1" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP1" <?php if ($this->_tpl_vars['GLORAP1'] == 'GL_1'): ?> checked="checked" <?php endif; ?>  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP1');selectradioGLPH('GL','1');" value="GL_1"  disabled="disabled"  />
			  GL 
			  <input <?php if ($this->_tpl_vars['GLORAP1'] == 'PH_1'): ?> checked="checked"  <?php endif; ?> name="GLORAP1"  type="radio"  onclick="GetRadioButtonValueShowHide('GLORAP1');GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('A','1');selectradioGLPH('PH','1');" value="PH_1" disabled="disabled" >
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_1">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT1" id="CURORAMT1" disabled="disabled">
                        <option value=""></option>
					    
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				      </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE1" id="AMTTYPE1" disabled="disabled">
                          <option value=""></option>
					      					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
						<?php endforeach; endif; unset($_from); ?>		
					  
				        </select></td>
					 </tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_1">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE1" cols="50" id="CIFTYPE1" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE1']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT1" id="CURORINT1" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM1" id="FRMTERM1" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM1']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="FRMTERMCD1" id="FRMTERMCD1" disabled="disabled">
							  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM1" id="TOTERM1" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM1']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="TOTERMCD1" id="TOTERMCD1" disabled="disabled">
							  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE1" type="radio"  value="A_1" onclick="GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('A','1');" <?php if ($this->_tpl_vars['PHANHE1'] == 'A_1'): ?> checked="checked" <?php endif; ?>  disabled="disabled"/>
								DD
								  <input  name="PHANHE1" type="radio" value="B_1" onclick="GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('B','1');" <?php if ($this->_tpl_vars['PHANHE1'] == 'B_1'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input  name="PHANHE1" type="radio" value="C_1" onclick="GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('C','1');" <?php if ($this->_tpl_vars['PHANHE1'] == 'C_1'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input  name="PHANHE1" type="radio" value="D_1" onclick="GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('D','1');" <?php if ($this->_tpl_vars['PHANHE1'] == 'D_1'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input  name="PHANHE1" type="radio" value="E_1" onclick="GetRadioButtonValueShowHide('PHANHE1');selectradioclearcontrol('E','1');" <?php if ($this->_tpl_vars['PHANHE1'] == 'E_1'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_1">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_1">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE1" id="FDTYPE1" disabled="disabled">
										  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_1">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT1" id="FRMODSTAT1" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT1']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT1" id="TOODSTAT1" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT1']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS1" id="SECSTATUS1" disabled="disabled">
										  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN1" cols="50" id="PPLN1" readonly="readonly"><?php echo $this->_tpl_vars['PPLN1']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR1" cols="50" id="LLSECTOR1" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR1']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE1" cols="50" id="LLBSTYPE1" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE1']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST1" cols="50" id="CLLIST1" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST1']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_1">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM1" id="TRTERM1" disabled="disabled">
                                          <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>       
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<select name="FDORLN1" id="FDORLN1" disabled="disabled">
										  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>        
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD1" cols="50" id="TRPRD1" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD1']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_1">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP1" id="PRDGRP1" disabled="disabled">
										  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP1']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE1" cols="50" id="PRDCODE1" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE1']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>
	   <!-- ket thuc phan he 1-->	  </td>
    </tr>
	
	<tr id="2">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE2" id="F_TYPE2" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE2" id="CURCODE2" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F02']; ?>
</td>
			  <td><textarea name="F02" cols="50" id="F02" readonly="readonly"><?php echo $this->_tpl_vars['F02']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS2" id="SBVORBTS2" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP2"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP2');selectradioGLPH('GL','2');" value="GL_2" <?php if ($this->_tpl_vars['GLORAP2'] == 'GL_2'): ?> checked="checked" <?php endif; ?>  disabled="disabled"/>
			  GL 
			  <input name="GLORAP2"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP2');GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('A','2');selectradioGLPH('PH','2');" value="PH_2" <?php if ($this->_tpl_vars['GLORAP2'] == 'PH_2'): ?> checked="checked" <?php endif; ?>  disabled="disabled" />
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_2">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT2" id="CURORAMT2" disabled="disabled">
                          <option value=""></option>
					      
					    					
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					     
							<?php endforeach; endif; unset($_from); ?>		  
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE2" id="AMTTYPE2" disabled="disabled">
                        <option value=""></option>
					    
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['amttype2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_2">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE2" cols="50" id="CIFTYPE2" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE2']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT2" id="CURORINT2" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM2" id="FRMTERM2" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM2']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="FRMTERMCD2" id="FRMTERMCD2" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM2" id="TOTERM2" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM2']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="TOTERMCD2" id="TOTERMCD2" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE2" type="radio"  value="A_2" onclick="GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('A','2');" <?php if ($this->_tpl_vars['PHANHE2'] == 'A_2'): ?> checked="checked" <?php endif; ?> disabled="disabled" />
								DD
								  <input name="PHANHE2" type="radio" value="B_2" onclick="GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('B','2');" <?php if ($this->_tpl_vars['PHANHE2'] == 'B_2'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE2" type="radio" value="C_2" onclick="GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('C','2');" <?php if ($this->_tpl_vars['PHANHE2'] == 'C_2'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE2" type="radio" value="D_2" onclick="GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('D','2');" <?php if ($this->_tpl_vars['PHANHE2'] == 'D_2'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE2" type="radio" value="E_2" onclick="GetRadioButtonValueShowHide('PHANHE2');selectradioclearcontrol('E','2');" <?php if ($this->_tpl_vars['PHANHE2'] == 'E_2'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_2">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_2">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE2" id="FDTYPE2" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_2">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT2" id="FRMODSTAT2" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT2']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT2" id="TOODSTAT2" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT2']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS2" id="SECSTATUS2" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>

									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN2" cols="50" id="PPLN2" readonly="readonly"><?php echo $this->_tpl_vars['PPLN2']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR2" cols="50" id="LLSECTOR2" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR2']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE2" cols="50" id="LLBSTYPE2" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE2']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST2" cols="50" id="CLLIST2" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST2']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_2">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM2" id="TRTERM2" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<select name="FDORLN2" id="FDORLN2" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>        
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD2" cols="50" id="TRPRD2" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD2']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_2">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP2" id="PRDGRP2" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP2']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE2" cols="50" id="PRDCODE2" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE2']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="3">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE3" id="F_TYPE3" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE3" id="CURCODE3" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F03']; ?>
</td>
			  <td><textarea name="F03" cols="50" id="F03" readonly="readonly"><?php echo $this->_tpl_vars['F03']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS3" id="SBVORBTS3" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP3"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP3');selectradioGLPH('GL','3');" value="GL_3"  <?php if ($this->_tpl_vars['GLORAP3'] == 'GL_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
			  GL 
			  <input name="GLORAP3"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP3');GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('A','3');selectradioGLPH('PH','3');" value="PH_3"  <?php if ($this->_tpl_vars['GLORAP3'] == 'PH_3'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_3">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT3" id="CURORAMT3" disabled="disabled">
                          <option value=""></option>
					      
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE3" id="AMTTYPE3" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_3">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE3" cols="50" id="CIFTYPE3" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE3']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT3" id="CURORINT3" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM3" id="FRMTERM3" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM3']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="FRMTERMCD3" id="FRMTERMCD3" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM3" id="TOTERM3" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM3']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="TOTERMCD3" id="TOTERMCD3" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE3" type="radio"  value="A_3" onclick="GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('A','3');" <?php if ($this->_tpl_vars['PHANHE3'] == 'A_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE3" type="radio" value="B_3" onclick="GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('B','3');" <?php if ($this->_tpl_vars['PHANHE3'] == 'B_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE3" type="radio" value="C_3" onclick="GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('C','3');" <?php if ($this->_tpl_vars['PHANHE3'] == 'C_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE3" type="radio" value="D_3" onclick="GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('D','3');" <?php if ($this->_tpl_vars['PHANHE3'] == 'D_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE3" type="radio" value="E_3" onclick="GetRadioButtonValueShowHide('PHANHE3');selectradioclearcontrol('E','3');" <?php if ($this->_tpl_vars['PHANHE3'] == 'E_3'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_3">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_3">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE3" id="FDTYPE3" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_3">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT3" id="FRMODSTAT3" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT3']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT3" id="TOODSTAT3" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT3']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS3" id="SECSTATUS3" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN3" cols="50" id="PPLN3" readonly="readonly"><?php echo $this->_tpl_vars['PPLN3']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR3" cols="50" id="LLSECTOR3" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR3']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE3" cols="50" id="LLBSTYPE3" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE3']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST3" cols="50" id="CLLIST3" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST3']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_3">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM3" id="TRTERM3" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<select name="FDORLN3" id="FDORLN3" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>        
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD3" cols="50" id="TRPRD3" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD3']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_3">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP3" id="PRDGRP3" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP3']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE3" cols="50" id="PRDCODE3" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE3']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="4">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE4" id="F_TYPE4" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE4" id="CURCODE4" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F04']; ?>
</td>
			  <td><textarea name="F04" cols="50" id="F04" readonly="readonly"><?php echo $this->_tpl_vars['F04']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS4" id="SBVORBTS4" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP4"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP4');selectradioGLPH('GL','4');" value="GL_4"  <?php if ($this->_tpl_vars['GLORAP4'] == 'GL_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
			  GL 
			  <input name="GLORAP4"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP4');GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('A','4');selectradioGLPH('PH','4');" value="PH_4" <?php if ($this->_tpl_vars['GLORAP4'] == 'PH_4'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_4">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT4" id="CURORAMT4" disabled="disabled">
                          <option value=""></option>
					      
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE4" id="AMTTYPE4" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_4">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE4" cols="50" id="CIFTYPE4" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE4']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT4" id="CURORINT4" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM4" id="FRMTERM4" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM4']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="FRMTERMCD4" id="FRMTERMCD4" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM4" id="TOTERM4" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM4']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="TOTERMCD4" id="TOTERMCD4" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE4" type="radio"  value="A_4" onclick="GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('A','4');" <?php if ($this->_tpl_vars['PHANHE4'] == 'A_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE4" type="radio" value="B_4" onclick="GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('B','4');" <?php if ($this->_tpl_vars['PHANHE4'] == 'B_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE4" type="radio" value="C_4" onclick="GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('C','4');" <?php if ($this->_tpl_vars['PHANHE4'] == 'C_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE4" type="radio" value="D_4" onclick="GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('D','4');" <?php if ($this->_tpl_vars['PHANHE4'] == 'D_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE4" type="radio" value="E_4" onclick="GetRadioButtonValueShowHide('PHANHE4');selectradioclearcontrol('E','4');" <?php if ($this->_tpl_vars['PHANHE4'] == 'E_4'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_4">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_4">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE4" id="FDTYPE4" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_4">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT4" id="FRMODSTAT4" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT4']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"  readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT4" id="TOODSTAT4" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT4']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS4" id="SECSTATUS4" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN4" cols="50" id="PPLN4" readonly="readonly"><?php echo $this->_tpl_vars['PPLN4']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR4" cols="50" id="LLSECTOR4" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR4']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE4" cols="50" id="LLBSTYPE4" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE4']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST4" cols="50" id="CLLIST4" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST4']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_4">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM4" id="TRTERM4" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<select name="FDORLN4" id="FDORLN4" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>        
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD4" cols="50" id="TRPRD4" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD4']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_4">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP4" id="PRDGRP4" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP4']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE4" cols="50" id="PRDCODE4" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE4']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="5">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE5" id="F_TYPE5" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE5" id="CURCODE5" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F05']; ?>
</td>
			  <td><textarea name="F05" cols="50" id="F05" readonly="readonly"><?php echo $this->_tpl_vars['F05']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS5" id="SBVORBTS5" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">

			  <input name="GLORAP5"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP5');selectradioGLPH('GL','5');" value="GL_5" <?php if ($this->_tpl_vars['GLORAP5'] == 'GL_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
			  GL 
			  <input name="GLORAP5"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP5');GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('A','5');selectradioGLPH('PH','5');" value="PH_5" <?php if ($this->_tpl_vars['GLORAP5'] == 'PH_5'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_5">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT5" id="CURORAMT5" disabled="disabled">
                          <option value=""></option>
					      
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>	
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE5" id="AMTTYPE5" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_5">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE5" cols="50" id="CIFTYPE5" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE5']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT5" id="CURORINT5" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM5" id="FRMTERM5" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM5']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="FRMTERMCD5" id="FRMTERMCD5" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM5" id="TOTERM5" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM5']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="TOTERMCD5" id="TOTERMCD5" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE5" type="radio"  value="A_5" onclick="GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('A','5');" <?php if ($this->_tpl_vars['PHANHE5'] == 'A_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE5" type="radio" value="B_5" onclick="GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('B','5');" <?php if ($this->_tpl_vars['PHANHE5'] == 'B_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE5" type="radio" value="C_5" onclick="GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('C','5');" <?php if ($this->_tpl_vars['PHANHE5'] == 'C_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE5" type="radio" value="D_5" onclick="GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('D','5');" <?php if ($this->_tpl_vars['PHANHE5'] == 'D_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE5" type="radio" value="E_5" onclick="GetRadioButtonValueShowHide('PHANHE5');selectradioclearcontrol('E','5');" <?php if ($this->_tpl_vars['PHANHE5'] == 'E_5'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_5">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_5">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE5" id="FDTYPE5" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_5">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT5" id="FRMODSTAT5" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT5']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT5" id="TOODSTAT5" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT5']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS5" id="SECSTATUS5" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN5" cols="50" id="PPLN5" readonly="readonly"><?php echo $this->_tpl_vars['PPLN5']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR5" cols="50" id="LLSECTOR5" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR5']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE5" cols="50" id="LLBSTYPE5" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE5']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST5" cols="50" id="CLLIST5" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST5']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_5">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM5" id="TRTERM5" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<select name="FDORLN5" id="FDORLN5" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>        
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD5" cols="50" id="TRPRD5" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD5']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_5">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP5" id="PRDGRP5" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP5']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE5" cols="50" id="PRDCODE5" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE5']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="6">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE6" id="F_TYPE6" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE6" id="CURCODE6" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F06']; ?>
</td>
			  <td><textarea name="F06" cols="50" id="F06" readonly="readonly"><?php echo $this->_tpl_vars['F06']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS6" id="SBVORBTS6" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP6"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP6');selectradioGLPH('GL','6');" value="GL_6"  <?php if ($this->_tpl_vars['GLORAP6'] == 'GL_6'): ?> checked="checked" <?php endif; ?> disabled="disabled" />
			  GL 
			  <input name="GLORAP6"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP6');GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('A','6');selectradioGLPH('PH','6');" value="PH_6" <?php if ($this->_tpl_vars['GLORAP6'] == 'PH_6'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_6">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT6" id="CURORAMT6" disabled="disabled">
                          <option value=""></option>
					      
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE6" id="AMTTYPE6" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_6">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE6" cols="50" id="CIFTYPE6" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE6']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT6" id="CURORINT6" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM6" id="FRMTERM6" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM6']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="FRMTERMCD6" id="FRMTERMCD6" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM6" id="TOTERM6" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM6']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="TOTERMCD6" id="TOTERMCD6" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE6" type="radio"  value="A_6" onclick="GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('A','6');" <?php if ($this->_tpl_vars['PHANHE6'] == 'A_6'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE6" type="radio" value="B_6" onclick="GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('B','6');" <?php if ($this->_tpl_vars['PHANHE6'] == 'B_6'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE6" type="radio" value="C_6" onclick="GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('C','6');" <?php if ($this->_tpl_vars['PHANHE6'] == 'C_6'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE6" type="radio" value="D_6" onclick="GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('D','6');" <?php if ($this->_tpl_vars['PHANHE6'] == 'D_6'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE6" type="radio" value="E_6" onclick="GetRadioButtonValueShowHide('PHANHE6');selectradioclearcontrol('E','6');" <?php if ($this->_tpl_vars['PHANHE6'] == 'E_6'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_6">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_6">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE6" id="FDTYPE6" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_6">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
										<input name="FRMODSTAT6" id="FRMODSTAT6" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT6']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT6" id="TOODSTAT6" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT6']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS6" id="SECSTATUS6" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN6" cols="50" id="PPLN6" readonly="readonly"><?php echo $this->_tpl_vars['PPLN6']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR6" cols="50" id="LLSECTOR6" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR6']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE6" cols="50" id="LLBSTYPE6" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE6']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST6" cols="50" id="CLLIST6" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST6']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_6">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM6" id="TRTERM6" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
									    <select name="FDORLN6" id="FDORLN6" disabled="disabled">
                                          <option value=""></option>
									        					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
									              
										<?php endforeach; endif; unset($_from); ?>		      
										
								      </select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD6" cols="50" id="TRPRD6" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD6']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_6">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP6" id="PRDGRP6" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP6']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE6" cols="50" id="PRDCODE6" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE6']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="7">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE7" id="F_TYPE7" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE7" id="CURCODE7" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F07']; ?>
</td>
			  <td><textarea name="F07" cols="50" id="F07" readonly="readonly"><?php echo $this->_tpl_vars['F07']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS7" id="SBVORBTS7" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP7"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP7');selectradioGLPH('GL','7');" value="GL_7"  <?php if ($this->_tpl_vars['GLORAP7'] == 'GL_7'): ?> checked="checked" <?php endif; ?> disabled="disabled" />
			  GL 
			  <input name="GLORAP7"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP7');GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('A','7');selectradioGLPH('PH','7');" value="PH_7" <?php if ($this->_tpl_vars['GLORAP7'] == 'PH_7'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_7">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT7" id="CURORAMT7" disabled="disabled">
                          <option value=""></option>
					      
					    			
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE7" id="AMTTYPE7" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_7">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE7" cols="50" id="CIFTYPE7" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE7']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT7" id="CURORINT7" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM7" id="FRMTERM7" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM7']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="FRMTERMCD7" id="FRMTERMCD7" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM7" id="TOTERM7" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM7']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="TOTERMCD7" id="TOTERMCD7" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE7" type="radio"  value="A_7" onclick="GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('A','7');" <?php if ($this->_tpl_vars['PHANHE7'] == 'A_7'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE7" type="radio" value="B_7" onclick="GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('B','7');" <?php if ($this->_tpl_vars['PHANHE7'] == 'B_7'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE7" type="radio" value="C_7" onclick="GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('C','7');" <?php if ($this->_tpl_vars['PHANHE7'] == 'C_7'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE7" type="radio" value="D_7" onclick="GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('D','7');" <?php if ($this->_tpl_vars['PHANHE7'] == 'D_7'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE7" type="radio" value="E_7" onclick="GetRadioButtonValueShowHide('PHANHE7');selectradioclearcontrol('E','7');" <?php if ($this->_tpl_vars['PHANHE7'] == 'E_7'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_7">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_7">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE7" id="FDTYPE7" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_7">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <input name="FRMODSTAT7" id="FRMODSTAT7" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT7']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT7" id="TOODSTAT7" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT7']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS7" id="SECSTATUS7" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN7" cols="50" id="PPLN7" readonly="readonly"><?php echo $this->_tpl_vars['PPLN7']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR7" cols="50" id="LLSECTOR7" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR7']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE7" cols="50" id="LLBSTYPE7" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE7']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST7" cols="50" id="CLLIST7" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST7']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_7">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM7" id="TRTERM7" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
									    <select name="FDORLN7" id="FDORLN7" disabled="disabled">
                                          <option value=""></option>
									        					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
									              
										<?php endforeach; endif; unset($_from); ?>		      
										
								      </select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD7" cols="50" id="TRPRD7" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD7']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_7">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP7" id="PRDGRP7" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP7']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE7" cols="50" id="PRDCODE7" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE7']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="8">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE8" id="F_TYPE8" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE8" id="CURCODE8" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F08']; ?>
</td>
			  <td><textarea name="F08" cols="50" id="F08" readonly="readonly"><?php echo $this->_tpl_vars['F08']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS8" id="SBVORBTS8" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP8"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP8');selectradioGLPH('GL','8');" value="GL_8"  <?php if ($this->_tpl_vars['GLORAP8'] == 'GL_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
			  GL 
			  <input name="GLORAP8"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP8');GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('A','8');selectradioGLPH('PH','8');" value="PH_8" <?php if ($this->_tpl_vars['GLORAP8'] == 'PH_8'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_8">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT8" id="CURORAMT8" disabled="disabled">
                          <option value=""></option>
					      
					    				
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					     
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE8" id="AMTTYPE8" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_8">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE8" cols="50" id="CIFTYPE8" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE8']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT8" id="CURORINT8" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>

						  <td><span style="color:#FF0000">
							<input name="FRMTERM8" id="FRMTERM8" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM8']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="FRMTERMCD8" id="FRMTERMCD8" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM8" id="TOTERM8" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM8']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="TOTERMCD8" id="TOTERMCD8" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE8" type="radio"  value="A_8" onclick="GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('A','8');" <?php if ($this->_tpl_vars['PHANHE8'] == 'A_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE8" type="radio" value="B_8" onclick="GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('B','8');" <?php if ($this->_tpl_vars['PHANHE8'] == 'B_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE8" type="radio" value="C_8" onclick="GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('C','8');" <?php if ($this->_tpl_vars['PHANHE8'] == 'C_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE8" type="radio" value="D_8" onclick="GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('D','8');" <?php if ($this->_tpl_vars['PHANHE8'] == 'D_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE8" type="radio" value="E_8" onclick="GetRadioButtonValueShowHide('PHANHE8');selectradioclearcontrol('E','8');" <?php if ($this->_tpl_vars['PHANHE8'] == 'E_8'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						

						<tr id="A_8">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_8">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE8" id="FDTYPE8" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_8">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <input name="FRMODSTAT8" id="FRMODSTAT8" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT8']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT8" id="TOODSTAT8" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT8']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS8" id="SECSTATUS8" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN8" cols="50" id="PPLN8" readonly="readonly"><?php echo $this->_tpl_vars['PPLN8']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR8" cols="50" id="LLSECTOR8" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR8']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE8" cols="50" id="LLBSTYPE8" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE8']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST8" cols="50" id="CLLIST8" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST8']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_8">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM8" id="TRTERM8" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
									    <select name="FDORLN8" id="FDORLN8" disabled="disabled">
                                          <option value=""></option>
									        					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
									              
										<?php endforeach; endif; unset($_from); ?>		      
										
								      </select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3">
									  <textarea name="TRPRD8" cols="50" id="TRPRD8" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD8']; ?>
</textarea>      </td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_8">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP8" id="PRDGRP8" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP8']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE8" cols="50" id="PRDCODE8" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE8']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="9">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE9" id="F_TYPE9" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE9" id="CURCODE9" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F09']; ?>
</td>
			  <td><textarea name="F09" cols="50" id="F09" readonly="readonly"><?php echo $this->_tpl_vars['F09']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS9" id="SBVORBTS9" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP9"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP9');selectradioGLPH('GL','9');" value="GL_9"  <?php if ($this->_tpl_vars['GLORAP9'] == 'GL_9'): ?> checked="checked" <?php endif; ?>  disabled="disabled"/>
			  GL 
			  <input name="GLORAP9"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP9');GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('A','9');selectradioGLPH('PH','9');" value="PH_9" <?php if ($this->_tpl_vars['GLORAP9'] == 'PH_9'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_9">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <td width="20%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
					</tr>
					<tr>
					  <td><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td><select name="CURORAMT9" id="CURORAMT9" disabled="disabled">
                          <option value=""></option>
					      
					     					
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
							<?php endforeach; endif; unset($_from); ?>		
						    
				      
				        </select></td>
					  <td><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td><select name="AMTTYPE9" id="AMTTYPE9" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_9">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE9" cols="50" id="CIFTYPE9" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE9']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT9" id="CURORINT9" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM9" id="FRMTERM9" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM9']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="FRMTERMCD9" id="FRMTERMCD9" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM9" id="TOTERM9" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM9']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly"/>
							<select name="TOTERMCD9" id="TOTERMCD9" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE9" type="radio"  value="A_9" onclick="GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('A','9');" <?php if ($this->_tpl_vars['PHANHE9'] == 'A_9'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE9" type="radio" value="B_9" onclick="GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('B','9');" <?php if ($this->_tpl_vars['PHANHE9'] == 'B_9'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE9" type="radio" value="C_9" onclick="GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('C','9');" <?php if ($this->_tpl_vars['PHANHE9'] == 'C_9'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE9" type="radio" value="D_9" onclick="GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('D','9');" <?php if ($this->_tpl_vars['PHANHE9'] == 'D_9'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE9" type="radio" value="E_9" onclick="GetRadioButtonValueShowHide('PHANHE9');selectradioclearcontrol('E','9');" <?php if ($this->_tpl_vars['PHANHE9'] == 'E_9'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_9">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_9">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE9" id="FDTYPE9" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_9">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <input name="FRMODSTAT9" id="FRMODSTAT9" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT9']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT9" id="TOODSTAT9" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT9']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS9" id="SECSTATUS9" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN9" cols="50" id="PPLN9" readonly="readonly"><?php echo $this->_tpl_vars['PPLN9']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR9" cols="50" id="LLSECTOR9" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR9']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE9" cols="50" id="LLBSTYPE9" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE9']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST9" cols="50" id="CLLIST9" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST9']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_9">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM9" id="TRTERM9" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
									    <select name="FDORLN9" id="FDORLN9" disabled="disabled">
                                          <option value=""></option>
									        					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
									              
										<?php endforeach; endif; unset($_from); ?>		      
										
								      </select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3"><textarea name="TRPRD9" cols="50" id="TRPRD9" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD9']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_9">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP9" id="PRDGRP9" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP9']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE9" cols="50" id="PRDCODE9" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE9']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
	
	<tr id="10">
	  <td colspan="4">
	  	<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%"><?php echo $this->_tpl_vars['lbl_F_TYPE1']; ?>
</td>
				<td width="31%"><select name="F_TYPE10" id="F_TYPE10" disabled="disabled">
			  <option value=""></option>						
				<?php $_from = $this->_tpl_vars['cbo_F_TYPE2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['F_TYPE10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
				<?php endforeach; endif; unset($_from); ?>		
				</select></td>
				<td width="18%"><?php echo $this->_tpl_vars['lbl_CURCODE1']; ?>
</td>
			  <td width="31%"><select name="CURCODE10" id="CURCODE10" disabled="disabled">
			  <option value=""></option>					
				<?php $_from = $this->_tpl_vars['cbo_CURCODE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURCODE10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option> 
				<?php endforeach; endif; unset($_from); ?>		 
			  </select></td>
			</tr>
			<tr>
			  <td><?php echo $this->_tpl_vars['lbl_F10']; ?>
</td>
			  <td><textarea name="F10" cols="50" id="F10" readonly="readonly"><?php echo $this->_tpl_vars['F10']; ?>
</textarea></td>
			  <td><?php echo $this->_tpl_vars['lbl_SBVORBTS1']; ?>
</td>
			  <td><select name="SBVORBTS10" id="SBVORBTS10" disabled="disabled">
                <option value=""></option>
			    						
							<?php $_from = $this->_tpl_vars['cbo_SBVORBTS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
			    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SBVORBTS10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
			    
							<?php endforeach; endif; unset($_from); ?>		
						  
		      </select></td>
			</tr>
			<tr>
			  <td>&nbsp;</td>
			  <td colspan="2">
			  <input name="GLORAP10"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP10');selectradioGLPH('GL','10');" value="GL_10" <?php if ($this->_tpl_vars['GLORAP10'] == 'GL_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
			  GL 
			  <input name="GLORAP10"  type="radio" onclick="GetRadioButtonValueShowHide('GLORAP10');GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('A','10');selectradioGLPH('PH','10');" value="PH_10" <?php if ($this->_tpl_vars['GLORAP10'] == 'PH_10'): ?> checked="checked" <?php endif; ?> disabled="disabled">
			  <?php echo $this->_tpl_vars['lbl_phanhe']; ?>

			  <hr />			  </td>
			   <td>&nbsp;</td>
			</tr>
			<!-- Phan he GL --->
			<tr id="GL_10">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						  
					<tr>
					  <td width="20%"><?php echo $this->_tpl_vars['lbl_CURORAMT1']; ?>
</td>
					  <td width="31%"><select name="CURORAMT10" id="CURORAMT10" disabled="disabled">
                          <option value=""></option>
					      
					    
						    					
							<?php $_from = $this->_tpl_vars['cbo_CURORAMT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							
						    
					    
					      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORAMT10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					      
					    
						    
							<?php endforeach; endif; unset($_from); ?>		
						  
						    
				      
				        </select></td>
					  <td width="18%"><?php echo $this->_tpl_vars['lbl_AMTTYPE1']; ?>
</td>
					  <td width="31%"><select name="AMTTYPE10" id="AMTTYPE10" disabled="disabled">
                        <option value=""></option>
					    					
						<?php $_from = $this->_tpl_vars['cbo_AMTTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
						
					    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['AMTTYPE10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
					    
						<?php endforeach; endif; unset($_from); ?>		
					  
				      </select></td>
					</tr>
				  </table>		</td> 
			</tr>
			<!--- Ket thuc GL, bat dau Phan he --->
			<tr id="PH_10">
				<td colspan="4">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
						  <td width="19%"><?php echo $this->_tpl_vars['lbl_CIFTYPE1']; ?>
</td>
						  <td width="32%"><textarea name="CIFTYPE10" cols="50" id="CIFTYPE10" readonly="readonly"><?php echo $this->_tpl_vars['CIFTYPE10']; ?>
</textarea></td>
						  <td width="18%">&nbsp;</td>
						  <td width="31%">&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_CURORINT1']; ?>
</td>
						  <td><select name="CURORINT10" id="CURORINT10" disabled="disabled">
							<option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_CURORINT1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['CURORINT10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
						  </select></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
						<tr>
						  <td><?php echo $this->_tpl_vars['lbl_FRMTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="FRMTERM10" id="FRMTERM10" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMTERM10']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="FRMTERMCD10" id="FRMTERMCD10" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FRMTERMCD10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						  <td><?php echo $this->_tpl_vars['lbl_TOTERM1']; ?>
</td>
						  <td><span style="color:#FF0000">
							<input name="TOTERM10" id="TOTERM10" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOTERM10']; ?>
" size="10" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onkeypress="return numberOnly(event);" readonly="readonly" />
							<select name="TOTERMCD10" id="TOTERMCD10" disabled="disabled">
						  <option value=""></option>					
							<?php $_from = $this->_tpl_vars['cbo_FRMTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
							  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TOTERMCD10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>		
							</select>
						  </span></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="20%"><?php echo $this->_tpl_vars['lbl_APPTYPE1']; ?>
</td>
							  <td width="80%" colspan="3">
								<input name="PHANHE10" type="radio"  value="A_10" onclick="GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('A','10');" <?php if ($this->_tpl_vars['PHANHE10'] == 'A_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								DD
								  <input name="PHANHE10" type="radio" value="B_10" onclick="GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('B','10');" <?php if ($this->_tpl_vars['PHANHE10'] == 'B_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								  FD
								  <input name="PHANHE10" type="radio" value="C_10" onclick="GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('C','10');" <?php if ($this->_tpl_vars['PHANHE10'] == 'C_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								LN
								<input name="PHANHE10" type="radio" value="D_10" onclick="GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('D','10');" <?php if ($this->_tpl_vars['PHANHE10'] == 'D_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/>
								TR
								<input name="PHANHE10" type="radio" value="E_10" onclick="GetRadioButtonValueShowHide('PHANHE10');selectradioclearcontrol('E','10');" <?php if ($this->_tpl_vars['PHANHE10'] == 'E_10'): ?> checked="checked" <?php endif; ?> disabled="disabled"/> 
						  TF</td>
						</tr>
						
						<tr id="A_10">
							<td colspan="4">													</td>
						</tr>
						<tr id="B_10">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FDTYPE1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="FDTYPE10" id="FDTYPE10" disabled="disabled">
									  <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_FDTYPE1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>         
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDTYPE10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
										<?php endforeach; endif; unset($_from); ?>		
										</select>
									  </span></td>
									  <td width="5%">&nbsp;</td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="C_10">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_FRMODSTAT1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <input name="FRMODSTAT10" id="FRMODSTAT10" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['FRMODSTAT10']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly" />
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_TOODSTAT1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
										<input name="TOODSTAT10" id="TOODSTAT10" type="text" style="background:<?php echo $this->_tpl_vars['colorMASO']; ?>
" value="<?php echo $this->_tpl_vars['TOODSTAT10']; ?>
" size="20" maxlength="1" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" readonly="readonly"/>
									  </span></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_SECSTATUS1']; ?>
</td>
									  <td><span style="color:#FF0000">
										<select name="SECSTATUS10" id="SECSTATUS10" disabled="disabled">
									  <option value=""></option>  					
										<?php $_from = $this->_tpl_vars['cbo_SECSTATUS1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['SECSTATUS10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>     
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_PPLN1']; ?>
</td>
									  <td colspan="3"><textarea name="PPLN10" cols="50" id="PPLN10" readonly="readonly"><?php echo $this->_tpl_vars['PPLN10']; ?>
</textarea></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLSECTOR1']; ?>
</td>
									  <td colspan="3"><textarea name="LLSECTOR10" cols="50" id="LLSECTOR10" readonly="readonly"><?php echo $this->_tpl_vars['LLSECTOR10']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_LLBSTYPE1']; ?>
</td>
									  <td colspan="3"><textarea name="LLBSTYPE10" cols="50" id="LLBSTYPE10" readonly="readonly"><?php echo $this->_tpl_vars['LLBSTYPE10']; ?>
</textarea></td>
									</tr>
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_CLLIST1']; ?>
</td>
									  <td colspan="3"><textarea name="CLLIST10" cols="50" id="CLLIST10" readonly="readonly"><?php echo $this->_tpl_vars['CLLIST10']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="D_10">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_TRTERM1']; ?>
</td>
									  <td width="32%"><span style="color:#FF0000">
									    <select name="TRTERM10" id="TRTERM10" disabled="disabled">
                                      <option value=""></option> 					
										<?php $_from = $this->_tpl_vars['cbo_TRTERM1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TRTERM10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>   
										<?php endforeach; endif; unset($_from); ?>		      
								      </select>
									  </span></td>
									  <td width="18%"><?php echo $this->_tpl_vars['lbl_FDORLN1']; ?>
</td>
									  <td width="31%"><span style="color:#FF0000">
									    <select name="FDORLN10" id="FDORLN10" disabled="disabled">
                                          <option value=""></option>
									        					
										<?php $_from = $this->_tpl_vars['cbo_FDORLN1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>          
										  
									      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['FDORLN10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
									              
										<?php endforeach; endif; unset($_from); ?>		      
										
								      </select>
									  </span></td>
									</tr>
									
									<tr>
									  <td><?php echo $this->_tpl_vars['lbl_TRPRD1']; ?>
</td>
									  <td colspan="3"><textarea name="TRPRD10" cols="50" id="TRPRD10" readonly="readonly"><?php echo $this->_tpl_vars['TRPRD10']; ?>
</textarea></td>
									</tr>
								</table>					</td>
						</tr>
						<tr id="E_10">
							<td colspan="4">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
									  <td width="19%"><?php echo $this->_tpl_vars['lbl_PRDGRP1']; ?>
</td>
									  <td colspan="2"><span style="color:#FF0000">
										<select name="PRDGRP10" id="PRDGRP10" disabled="disabled">
									  <option value=""></option>					
										<?php $_from = $this->_tpl_vars['cbo_PRDGRP1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>           	  
										  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['PRDGRP10']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>		  
										<?php endforeach; endif; unset($_from); ?>		      
										</select>
									  </span></td>
									  <td width="31%">&nbsp;</td>
									</tr>
									
									<tr>
										<td><?php echo $this->_tpl_vars['lbl_PRDCODE1']; ?>
</td>
										<td colspan="3"><textarea name="PRDCODE10" cols="50" id="PRDCODE10" readonly="readonly"><?php echo $this->_tpl_vars['PRDCODE10']; ?>
</textarea>								</td>
									</tr>
								</table>					</td>
						</tr>
					</table>				</td>
			</tr>
			<tr><td colspan="4"><hr /> </td></tr>
		</table>	  </td>
    </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'MACT');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="<?php echo $this->_tpl_vars['lbl_tuchoi']; ?>
" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>/>
 <input value="<?php echo $this->_tpl_vars['lbl_duyet']; ?>
" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="<?php echo $this->_tpl_vars['lbl_lichsuthaydoi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_rptTT13Phuluc1_2.php?MACT=<?php echo $this->_tpl_vars['MACT']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptVN2']; ?>

<?php echo $this->_tpl_vars['script_onload']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>